<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::OneVersusOneClassifier&lt; InputType, VectorType &gt; Class Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="classshark_1_1_one_versus_one_classifier.html">OneVersusOneClassifier</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="classshark_1_1_one_versus_one_classifier-members.html">List of all members</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle"><div class="title">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt; Class Template Reference<div class="ingroups"><a class="el" href="group__models.html">Models</a></div></div></div>
</div><!--header-->
<div class="contents">

<p>One-versus-one <a class="el" href="classshark_1_1_classifier.html" title="Conversion of real-valued or vector valued outputs to class labels.">Classifier</a>.  
 <a href="classshark_1_1_one_versus_one_classifier.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_one_versus_one_classifier_8h_source.html">shark/Models/OneVersusOneClassifier.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classshark_1_1_one_versus_one_classifier__inherit__graph.png" border="0" usemap="#ashark_1_1_one_versus_one_classifier_3_01_input_type_00_01_vector_type_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ashark_1_1_one_versus_one_classifier_3_01_input_type_00_01_vector_type_01_4_inherit__map" id="ashark_1_1_one_versus_one_classifier_3_01_input_type_00_01_vector_type_01_4_inherit__map">
<area shape="rect" title="One&#45;versus&#45;one Classifier." alt="" coords="5,109,211,150"/>
<area shape="rect" href="classshark_1_1_abstract_model.html" title="Base class for all Models." alt="" coords="17,5,199,61"/>
<area shape="poly" title=" " alt="" coords="111,77,111,109,105,109,105,77"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a62a08462043b510e68dac7ae646156b2" id="r_a62a08462043b510e68dac7ae646156b2"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">base_type::BatchInputType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#a62a08462043b510e68dac7ae646156b2">BatchInputType</a></td></tr>
<tr class="separator:a62a08462043b510e68dac7ae646156b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac67af1a218f9e7e3fef40649d402a449" id="r_ac67af1a218f9e7e3fef40649d402a449"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">base_type::BatchOutputType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#ac67af1a218f9e7e3fef40649d402a449">BatchOutputType</a></td></tr>
<tr class="separator:ac67af1a218f9e7e3fef40649d402a449"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_abstract_model"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_abstract_model')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_abstract_model.html">shark::AbstractModel&lt; InputTypeT, OutputTypeT, ParameterVectorType &gt;</a></td></tr>
<tr class="memitem:a76a2d024b6013037b072596fe4f9f829 inherit pub_types_classshark_1_1_abstract_model" id="r_a76a2d024b6013037b072596fe4f9f829"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a76a2d024b6013037b072596fe4f9f829">Feature</a> { <a class="el" href="classshark_1_1_abstract_model.html#a76a2d024b6013037b072596fe4f9f829a89a819e2614f818baa23c5c8fdd4393d">HAS_FIRST_PARAMETER_DERIVATIVE</a> = 1
, <a class="el" href="classshark_1_1_abstract_model.html#a76a2d024b6013037b072596fe4f9f829a82b5c22e1b95f20aff01b4b39e86c607">HAS_FIRST_INPUT_DERIVATIVE</a> = 4
 }</td></tr>
<tr class="separator:a76a2d024b6013037b072596fe4f9f829 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a714e85d7a6cd2b68898cb5dbb25c37d4 inherit pub_types_classshark_1_1_abstract_model" id="r_a714e85d7a6cd2b68898cb5dbb25c37d4"><td class="memItemLeft" align="right" valign="top">typedef InputTypeT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a></td></tr>
<tr class="memdesc:a714e85d7a6cd2b68898cb5dbb25c37d4 inherit pub_types_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines the input type of the model.  <br /></td></tr>
<tr class="separator:a714e85d7a6cd2b68898cb5dbb25c37d4 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e5acf043e3a76b50d15a852365801b4 inherit pub_types_classshark_1_1_abstract_model" id="r_a8e5acf043e3a76b50d15a852365801b4"><td class="memItemLeft" align="right" valign="top">typedef OutputTypeT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a8e5acf043e3a76b50d15a852365801b4">OutputType</a></td></tr>
<tr class="memdesc:a8e5acf043e3a76b50d15a852365801b4 inherit pub_types_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines the output type of the model.  <br /></td></tr>
<tr class="separator:a8e5acf043e3a76b50d15a852365801b4 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fccb0cdf4c0b47afbe5da03532b9b4e inherit pub_types_classshark_1_1_abstract_model" id="r_a7fccb0cdf4c0b47afbe5da03532b9b4e"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_model.html">AbstractModel</a>&lt; InputTypeT, OutputTypeT, <a class="el" href="classshark_1_1_i_parameterizable.html#a2ad5e2e60b2b352988b41f46024d790b">ParameterVectorType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a7fccb0cdf4c0b47afbe5da03532b9b4e">ModelBaseType</a></td></tr>
<tr class="memdesc:a7fccb0cdf4c0b47afbe5da03532b9b4e inherit pub_types_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines the BaseType used by the model (this type). Useful for creating derived models.  <br /></td></tr>
<tr class="separator:a7fccb0cdf4c0b47afbe5da03532b9b4e inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a518304e95092673b7b6438cace052ef6 inherit pub_types_classshark_1_1_abstract_model" id="r_a518304e95092673b7b6438cace052ef6"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a></td></tr>
<tr class="memdesc:a518304e95092673b7b6438cace052ef6 inherit pub_types_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">defines the batch type of the input type.  <br /></td></tr>
<tr class="separator:a518304e95092673b7b6438cace052ef6 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0c72e230b9a1324c95ba8ac0b07ba13 inherit pub_types_classshark_1_1_abstract_model" id="r_aa0c72e230b9a1324c95ba8ac0b07ba13"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a8e5acf043e3a76b50d15a852365801b4">OutputType</a> &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a></td></tr>
<tr class="memdesc:aa0c72e230b9a1324c95ba8ac0b07ba13 inherit pub_types_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">defines the batch type of the output type  <br /></td></tr>
<tr class="separator:aa0c72e230b9a1324c95ba8ac0b07ba13 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6b242b73aadc63380181fdf4da1db84 inherit pub_types_classshark_1_1_abstract_model" id="r_aa6b242b73aadc63380181fdf4da1db84"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_flags.html">TypedFlags</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a76a2d024b6013037b072596fe4f9f829">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#aa6b242b73aadc63380181fdf4da1db84">Features</a></td></tr>
<tr class="separator:aa6b242b73aadc63380181fdf4da1db84 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48785f538572a695c46b9eec7a4a00f3 inherit pub_types_classshark_1_1_abstract_model" id="r_a48785f538572a695c46b9eec7a4a00f3"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_feature_not_available_exception.html">TypedFeatureNotAvailableException</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a76a2d024b6013037b072596fe4f9f829">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a48785f538572a695c46b9eec7a4a00f3">FeatureNotAvailableException</a></td></tr>
<tr class="separator:a48785f538572a695c46b9eec7a4a00f3 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_i_parameterizable"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_i_parameterizable')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_i_parameterizable.html">shark::IParameterizable&lt; VectorType &gt;</a></td></tr>
<tr class="memitem:a2ad5e2e60b2b352988b41f46024d790b inherit pub_types_classshark_1_1_i_parameterizable" id="r_a2ad5e2e60b2b352988b41f46024d790b"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_parameterizable.html#a2ad5e2e60b2b352988b41f46024d790b">ParameterVectorType</a></td></tr>
<tr class="separator:a2ad5e2e60b2b352988b41f46024d790b inherit pub_types_classshark_1_1_i_parameterizable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a62a70003c61f4b1e0ac8ed341b06dfc8" id="r_a62a70003c61f4b1e0ac8ed341b06dfc8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#a62a70003c61f4b1e0ac8ed341b06dfc8">OneVersusOneClassifier</a> ()</td></tr>
<tr class="memdesc:a62a70003c61f4b1e0ac8ed341b06dfc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <br /></td></tr>
<tr class="separator:a62a70003c61f4b1e0ac8ed341b06dfc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a291c3ee295209c764e3f37e221f62101" id="r_a291c3ee295209c764e3f37e221f62101"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#a291c3ee295209c764e3f37e221f62101">name</a> () const</td></tr>
<tr class="memdesc:a291c3ee295209c764e3f37e221f62101"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="classshark_1_1_i_nameable.html" title="This class is an interface for all objects which can have a name.">INameable</a>: return the class name.  <br /></td></tr>
<tr class="separator:a291c3ee295209c764e3f37e221f62101"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab391eb00c83476a3b2de06d717849510" id="r_ab391eb00c83476a3b2de06d717849510"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#ab391eb00c83476a3b2de06d717849510">parameterVector</a> () const</td></tr>
<tr class="memdesc:ab391eb00c83476a3b2de06d717849510"><td class="mdescLeft">&#160;</td><td class="mdescRight">get internal parameters of the model  <br /></td></tr>
<tr class="separator:ab391eb00c83476a3b2de06d717849510"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41b5206801f56ac6f046978b8c9f4483" id="r_a41b5206801f56ac6f046978b8c9f4483"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#a41b5206801f56ac6f046978b8c9f4483">setParameterVector</a> (<a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> const &amp;newParameters)</td></tr>
<tr class="memdesc:a41b5206801f56ac6f046978b8c9f4483"><td class="mdescLeft">&#160;</td><td class="mdescRight">set internal parameters of the model  <br /></td></tr>
<tr class="separator:a41b5206801f56ac6f046978b8c9f4483"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95d7dffe9fe78c144291411e97c160ff" id="r_a95d7dffe9fe78c144291411e97c160ff"><td class="memItemLeft" align="right" valign="top">virtual std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#a95d7dffe9fe78c144291411e97c160ff">numberOfParameters</a> () const</td></tr>
<tr class="memdesc:a95d7dffe9fe78c144291411e97c160ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">return the size of the parameter vector  <br /></td></tr>
<tr class="separator:a95d7dffe9fe78c144291411e97c160ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3326ce74f8401f42dc8031dec9bbdc56" id="r_a3326ce74f8401f42dc8031dec9bbdc56"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#a3326ce74f8401f42dc8031dec9bbdc56">numberOfClasses</a> () const</td></tr>
<tr class="memdesc:a3326ce74f8401f42dc8031dec9bbdc56"><td class="mdescLeft">&#160;</td><td class="mdescRight">return number of classes  <br /></td></tr>
<tr class="separator:a3326ce74f8401f42dc8031dec9bbdc56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a526c89d58bd792fb51b0eeb43bd241b6" id="r_a526c89d58bd792fb51b0eeb43bd241b6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_shape.html">Shape</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#a526c89d58bd792fb51b0eeb43bd241b6">inputShape</a> () const</td></tr>
<tr class="memdesc:a526c89d58bd792fb51b0eeb43bd241b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the expected shape of the input.  <br /></td></tr>
<tr class="separator:a526c89d58bd792fb51b0eeb43bd241b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab95b7c7a39b4f87ee47a5a4a48256525" id="r_ab95b7c7a39b4f87ee47a5a4a48256525"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_shape.html">Shape</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#ab95b7c7a39b4f87ee47a5a4a48256525">outputShape</a> () const</td></tr>
<tr class="memdesc:ab95b7c7a39b4f87ee47a5a4a48256525"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the shape of the output.  <br /></td></tr>
<tr class="separator:ab95b7c7a39b4f87ee47a5a4a48256525"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa14ccce9b2bb1004e0d3165ca3c24094" id="r_aa14ccce9b2bb1004e0d3165ca3c24094"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_model.html">binary_classifier_type</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#aa14ccce9b2bb1004e0d3165ca3c24094">binary</a> (unsigned int class_one, unsigned int class_zero) const</td></tr>
<tr class="memdesc:aa14ccce9b2bb1004e0d3165ca3c24094"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtain binary classifier.  <br /></td></tr>
<tr class="separator:aa14ccce9b2bb1004e0d3165ca3c24094"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ded346e1b9354472fdfe9eb35a6023f" id="r_a5ded346e1b9354472fdfe9eb35a6023f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#a5ded346e1b9354472fdfe9eb35a6023f">addClass</a> (std::vector&lt; <a class="el" href="classshark_1_1_abstract_model.html">binary_classifier_type</a> * &gt; const &amp;binmodels)</td></tr>
<tr class="memdesc:a5ded346e1b9354472fdfe9eb35a6023f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add binary classifiers for one more class to the model.  <br /></td></tr>
<tr class="separator:a5ded346e1b9354472fdfe9eb35a6023f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24d1e801c037be39351c83f7c102bdc2" id="r_a24d1e801c037be39351c83f7c102bdc2"><td class="memItemLeft" align="right" valign="top">boost::shared_ptr&lt; <a class="el" href="structshark_1_1_state.html">State</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#a24d1e801c037be39351c83f7c102bdc2">createState</a> () const</td></tr>
<tr class="memdesc:a24d1e801c037be39351c83f7c102bdc2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an internal state of the model.  <br /></td></tr>
<tr class="separator:a24d1e801c037be39351c83f7c102bdc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a114c9975ec451ef779656f6554d1af24" id="r_a114c9975ec451ef779656f6554d1af24"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#a114c9975ec451ef779656f6554d1af24">eval</a> (<a class="el" href="classshark_1_1_one_versus_one_classifier.html#a62a08462043b510e68dac7ae646156b2">BatchInputType</a> const &amp;patterns, <a class="el" href="classshark_1_1_one_versus_one_classifier.html#ac67af1a218f9e7e3fef40649d402a449">BatchOutputType</a> &amp;output, <a class="el" href="structshark_1_1_state.html">State</a> &amp;state) const</td></tr>
<tr class="separator:a114c9975ec451ef779656f6554d1af24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4eedddd8b965056551409b8525c427e" id="r_ad4eedddd8b965056551409b8525c427e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#ad4eedddd8b965056551409b8525c427e">read</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive)</td></tr>
<tr class="memdesc:ad4eedddd8b965056551409b8525c427e"><td class="mdescLeft">&#160;</td><td class="mdescRight">from <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>, reads a model from an archive  <br /></td></tr>
<tr class="separator:ad4eedddd8b965056551409b8525c427e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3bd0e335f681d47795214af7fcee3f7" id="r_ad3bd0e335f681d47795214af7fcee3f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#ad3bd0e335f681d47795214af7fcee3f7">write</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive) const</td></tr>
<tr class="memdesc:ad3bd0e335f681d47795214af7fcee3f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">from <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>, writes a model to an archive  <br /></td></tr>
<tr class="separator:ad3bd0e335f681d47795214af7fcee3f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7edef74da55322b6aef0ba65b08592d" id="r_ac7edef74da55322b6aef0ba65b08592d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#ac7edef74da55322b6aef0ba65b08592d">eval</a> (<a class="el" href="classshark_1_1_one_versus_one_classifier.html#a62a08462043b510e68dac7ae646156b2">BatchInputType</a> const &amp;patterns, <a class="el" href="classshark_1_1_one_versus_one_classifier.html#ac67af1a218f9e7e3fef40649d402a449">BatchOutputType</a> &amp;outputs) const</td></tr>
<tr class="memdesc:ac7edef74da55322b6aef0ba65b08592d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Standard interface for evaluating the response of the model to a batch of patterns.  <br /></td></tr>
<tr class="separator:ac7edef74da55322b6aef0ba65b08592d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b09b00726d7317e0c2e95084d22e42e" id="r_a6b09b00726d7317e0c2e95084d22e42e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#a6b09b00726d7317e0c2e95084d22e42e">eval</a> (<a class="el" href="classshark_1_1_one_versus_one_classifier.html#a62a08462043b510e68dac7ae646156b2">BatchInputType</a> const &amp;patterns, <a class="el" href="classshark_1_1_one_versus_one_classifier.html#ac67af1a218f9e7e3fef40649d402a449">BatchOutputType</a> &amp;outputs, <a class="el" href="structshark_1_1_state.html">State</a> &amp;state) const=0</td></tr>
<tr class="memdesc:a6b09b00726d7317e0c2e95084d22e42e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Standard interface for evaluating the response of the model to a batch of patterns.  <br /></td></tr>
<tr class="separator:a6b09b00726d7317e0c2e95084d22e42e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a331290a6cb2840663d2178899366c8" id="r_a3a331290a6cb2840663d2178899366c8"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#a3a331290a6cb2840663d2178899366c8">eval</a> (<a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> const &amp;pattern, <a class="el" href="classshark_1_1_abstract_model.html#a8e5acf043e3a76b50d15a852365801b4">OutputType</a> &amp;output) const</td></tr>
<tr class="memdesc:a3a331290a6cb2840663d2178899366c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Standard interface for evaluating the response of the model to a single pattern.  <br /></td></tr>
<tr class="separator:a3a331290a6cb2840663d2178899366c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_abstract_model"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_abstract_model')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_abstract_model.html">shark::AbstractModel&lt; InputTypeT, OutputTypeT, ParameterVectorType &gt;</a></td></tr>
<tr class="memitem:a0b7aeb13b70c8d4cffc4958e6583627c inherit pub_methods_classshark_1_1_abstract_model" id="r_a0b7aeb13b70c8d4cffc4958e6583627c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a0b7aeb13b70c8d4cffc4958e6583627c">AbstractModel</a> ()</td></tr>
<tr class="separator:a0b7aeb13b70c8d4cffc4958e6583627c inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad07313494d4f88c8294410d0c77d80b7 inherit pub_methods_classshark_1_1_abstract_model" id="r_ad07313494d4f88c8294410d0c77d80b7"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#ad07313494d4f88c8294410d0c77d80b7">~AbstractModel</a> ()</td></tr>
<tr class="separator:ad07313494d4f88c8294410d0c77d80b7 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a234570c3bc1f1fdf06e67ecc4751fa24 inherit pub_methods_classshark_1_1_abstract_model" id="r_a234570c3bc1f1fdf06e67ecc4751fa24"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classshark_1_1_abstract_model.html#aa6b242b73aadc63380181fdf4da1db84">Features</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a234570c3bc1f1fdf06e67ecc4751fa24">features</a> () const</td></tr>
<tr class="separator:a234570c3bc1f1fdf06e67ecc4751fa24 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8cb877bb0c6b8e713e852f9057a6eae inherit pub_methods_classshark_1_1_abstract_model" id="r_af8cb877bb0c6b8e713e852f9057a6eae"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#af8cb877bb0c6b8e713e852f9057a6eae">updateFeatures</a> ()</td></tr>
<tr class="separator:af8cb877bb0c6b8e713e852f9057a6eae inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae04810c1ae40f816872eba4ef3953e36 inherit pub_methods_classshark_1_1_abstract_model" id="r_ae04810c1ae40f816872eba4ef3953e36"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#ae04810c1ae40f816872eba4ef3953e36">hasFirstParameterDerivative</a> () const</td></tr>
<tr class="memdesc:ae04810c1ae40f816872eba4ef3953e36 inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true when the first parameter derivative is implemented.  <br /></td></tr>
<tr class="separator:ae04810c1ae40f816872eba4ef3953e36 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1092b50b56555e8f2e8b4d4aa57eb3c3 inherit pub_methods_classshark_1_1_abstract_model" id="r_a1092b50b56555e8f2e8b4d4aa57eb3c3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a1092b50b56555e8f2e8b4d4aa57eb3c3">hasFirstInputDerivative</a> () const</td></tr>
<tr class="memdesc:a1092b50b56555e8f2e8b4d4aa57eb3c3 inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true when the first input derivative is implemented.  <br /></td></tr>
<tr class="separator:a1092b50b56555e8f2e8b4d4aa57eb3c3 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b69168617355ebbd470caf2393a541f inherit pub_methods_classshark_1_1_abstract_model" id="r_a0b69168617355ebbd470caf2393a541f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a8e5acf043e3a76b50d15a852365801b4">OutputType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a0b69168617355ebbd470caf2393a541f">operator()</a> (<a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> &gt; const &amp;patterns) const</td></tr>
<tr class="memdesc:a0b69168617355ebbd470caf2393a541f inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Model evaluation as an operator for a whole dataset. This is a convenience function.  <br /></td></tr>
<tr class="separator:a0b69168617355ebbd470caf2393a541f inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78b0b0517a53c93013b9372292f73a78 inherit pub_methods_classshark_1_1_abstract_model" id="r_a78b0b0517a53c93013b9372292f73a78"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_model.html#a8e5acf043e3a76b50d15a852365801b4">OutputType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a78b0b0517a53c93013b9372292f73a78">operator()</a> (<a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> const &amp;pattern) const</td></tr>
<tr class="memdesc:a78b0b0517a53c93013b9372292f73a78 inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Model evaluation as an operator for a single pattern. This is a convenience function.  <br /></td></tr>
<tr class="separator:a78b0b0517a53c93013b9372292f73a78 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa10f381b3bd678c82a600c5bc6ac0ec3 inherit pub_methods_classshark_1_1_abstract_model" id="r_aa10f381b3bd678c82a600c5bc6ac0ec3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#aa10f381b3bd678c82a600c5bc6ac0ec3">operator()</a> (<a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> const &amp;patterns) const</td></tr>
<tr class="memdesc:aa10f381b3bd678c82a600c5bc6ac0ec3 inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Model evaluation as an operator for a single pattern. This is a convenience function.  <br /></td></tr>
<tr class="separator:aa10f381b3bd678c82a600c5bc6ac0ec3 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad699b6b1f813c5cc3b3ed45f254dbc1d inherit pub_methods_classshark_1_1_abstract_model" id="r_ad699b6b1f813c5cc3b3ed45f254dbc1d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#ad699b6b1f813c5cc3b3ed45f254dbc1d">weightedParameterDerivative</a> (<a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> const &amp;pattern, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;outputs, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;coefficients, <a class="el" href="structshark_1_1_state.html">State</a> const &amp;state, <a class="el" href="classshark_1_1_i_parameterizable.html#a2ad5e2e60b2b352988b41f46024d790b">ParameterVectorType</a> &amp;derivative) const</td></tr>
<tr class="memdesc:ad699b6b1f813c5cc3b3ed45f254dbc1d inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">calculates the weighted sum of derivatives w.r.t the parameters.  <br /></td></tr>
<tr class="separator:ad699b6b1f813c5cc3b3ed45f254dbc1d inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c192dedb474c5a8e39b1f46d99f94cc inherit pub_methods_classshark_1_1_abstract_model" id="r_a3c192dedb474c5a8e39b1f46d99f94cc"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a3c192dedb474c5a8e39b1f46d99f94cc">weightedInputDerivative</a> (<a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> const &amp;pattern, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;outputs, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;coefficients, <a class="el" href="structshark_1_1_state.html">State</a> const &amp;state, <a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> &amp;derivative) const</td></tr>
<tr class="memdesc:a3c192dedb474c5a8e39b1f46d99f94cc inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">calculates the weighted sum of derivatives w.r.t the inputs  <br /></td></tr>
<tr class="separator:a3c192dedb474c5a8e39b1f46d99f94cc inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb4966b597013417b5e9957c84485c8c inherit pub_methods_classshark_1_1_abstract_model" id="r_adb4966b597013417b5e9957c84485c8c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#adb4966b597013417b5e9957c84485c8c">weightedDerivatives</a> (<a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> const &amp;patterns, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;outputs, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;coefficients, <a class="el" href="structshark_1_1_state.html">State</a> const &amp;state, <a class="el" href="classshark_1_1_i_parameterizable.html#a2ad5e2e60b2b352988b41f46024d790b">ParameterVectorType</a> &amp;parameterDerivative, <a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> &amp;inputDerivative) const</td></tr>
<tr class="memdesc:adb4966b597013417b5e9957c84485c8c inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">calculates weighted input and parameter derivative at the same time  <br /></td></tr>
<tr class="separator:adb4966b597013417b5e9957c84485c8c inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_parameterizable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_parameterizable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_parameterizable.html">shark::IParameterizable&lt; VectorType &gt;</a></td></tr>
<tr class="memitem:a9e3a11172e74d1aa7292f3de4e2b6ebc inherit pub_methods_classshark_1_1_i_parameterizable" id="r_a9e3a11172e74d1aa7292f3de4e2b6ebc"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_parameterizable.html#a9e3a11172e74d1aa7292f3de4e2b6ebc">~IParameterizable</a> ()</td></tr>
<tr class="separator:a9e3a11172e74d1aa7292f3de4e2b6ebc inherit pub_methods_classshark_1_1_i_parameterizable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_nameable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_nameable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_nameable.html">shark::INameable</a></td></tr>
<tr class="memitem:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable" id="r_a877dbdfc6b58ea836495143cea44a98c"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_nameable.html#a877dbdfc6b58ea836495143cea44a98c">~INameable</a> ()</td></tr>
<tr class="separator:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_serializable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_serializable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_serializable.html">shark::ISerializable</a></td></tr>
<tr class="memitem:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable" id="r_a7baa9ce108d7278822297ce15882782a"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a7baa9ce108d7278822297ce15882782a">~ISerializable</a> ()</td></tr>
<tr class="memdesc:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual d'tor.  <br /></td></tr>
<tr class="separator:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable" id="r_abdda0c5b8e065b8afbac2cba8f58e841"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#abdda0c5b8e065b8afbac2cba8f58e841">load</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive, unsigned int version)</td></tr>
<tr class="memdesc:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned loading of components, calls read(...).  <br /></td></tr>
<tr class="separator:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable" id="r_a5bf66fa8db15cc529bec98976a2f5255"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a5bf66fa8db15cc529bec98976a2f5255">save</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive, unsigned int version) const</td></tr>
<tr class="memdesc:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned storing of components, calls write(...).  <br /></td></tr>
<tr class="separator:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable" id="r_a4560a94e8f4908fe8627e41e7d965735"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a4560a94e8f4908fe8627e41e7d965735">BOOST_SERIALIZATION_SPLIT_MEMBER</a> ()</td></tr>
<tr class="separator:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ad7d03594b8da31afe6326ce79514010b" id="r_ad7d03594b8da31afe6326ce79514010b"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#ad7d03594b8da31afe6326ce79514010b">m_classes</a></td></tr>
<tr class="memdesc:ad7d03594b8da31afe6326ce79514010b"><td class="mdescLeft">&#160;</td><td class="mdescRight">number of classes to be distinguished  <br /></td></tr>
<tr class="separator:ad7d03594b8da31afe6326ce79514010b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11a5bb9db5a4686f51db466b1a5f4c99" id="r_a11a5bb9db5a4686f51db466b1a5f4c99"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classshark_1_1_abstract_model.html">binary_classifier_type</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#a11a5bb9db5a4686f51db466b1a5f4c99">m_binary</a></td></tr>
<tr class="memdesc:a11a5bb9db5a4686f51db466b1a5f4c99"><td class="mdescLeft">&#160;</td><td class="mdescRight">list of binary classifiers  <br /></td></tr>
<tr class="separator:a11a5bb9db5a4686f51db466b1a5f4c99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classshark_1_1_abstract_model"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classshark_1_1_abstract_model')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classshark_1_1_abstract_model.html">shark::AbstractModel&lt; InputTypeT, OutputTypeT, ParameterVectorType &gt;</a></td></tr>
<tr class="memitem:a4c5a689901083e50007f53de72f694fc inherit pro_attribs_classshark_1_1_abstract_model" id="r_a4c5a689901083e50007f53de72f694fc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_model.html#aa6b242b73aadc63380181fdf4da1db84">Features</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a4c5a689901083e50007f53de72f694fc">m_features</a></td></tr>
<tr class="separator:a4c5a689901083e50007f53de72f694fc inherit pro_attribs_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a>, class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> = RealVector&gt;<br />
class shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;</div><p>One-versus-one <a class="el" href="classshark_1_1_classifier.html" title="Conversion of real-valued or vector valued outputs to class labels.">Classifier</a>. </p>
<dl class="section user"><dt></dt><dd>The one-versus-one classifier combines a number of binary classifiers to form a multi-class ensemble classifier. In the one-versus-one model, there exists one binary classifier for each pair of classes. The predictions of all binary machines are combined with a simple voting scheme.</dd></dl>
<dl class="section user"><dt></dt><dd>The classifier can be extended to handle more classes on the fly, without a need for re-training the existing binary models. </dd></dl>

<p class="definition">Definition at line <a class="el" href="_one_versus_one_classifier_8h_source.html#l00063">63</a> of file <a class="el" href="_one_versus_one_classifier_8h_source.html">OneVersusOneClassifier.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a62a08462043b510e68dac7ae646156b2" name="a62a08462043b510e68dac7ae646156b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62a08462043b510e68dac7ae646156b2">&#9670;&#160;</a></span>BatchInputType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> , class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">base_type::BatchInputType</a> <a class="el" href="classshark_1_1_one_versus_one_classifier.html">shark::OneVersusOneClassifier</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a>, <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::BatchInputType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_one_versus_one_classifier_8h_source.html#l00069">69</a> of file <a class="el" href="_one_versus_one_classifier_8h_source.html">OneVersusOneClassifier.h</a>.</p>

</div>
</div>
<a id="ac67af1a218f9e7e3fef40649d402a449" name="ac67af1a218f9e7e3fef40649d402a449"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac67af1a218f9e7e3fef40649d402a449">&#9670;&#160;</a></span>BatchOutputType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> , class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">base_type::BatchOutputType</a> <a class="el" href="classshark_1_1_one_versus_one_classifier.html">shark::OneVersusOneClassifier</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a>, <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::BatchOutputType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_one_versus_one_classifier_8h_source.html#l00070">70</a> of file <a class="el" href="_one_versus_one_classifier_8h_source.html">OneVersusOneClassifier.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a62a70003c61f4b1e0ac8ed341b06dfc8" name="a62a70003c61f4b1e0ac8ed341b06dfc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62a70003c61f4b1e0ac8ed341b06dfc8">&#9670;&#160;</a></span>OneVersusOneClassifier()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> , class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_one_versus_one_classifier.html">shark::OneVersusOneClassifier</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a>, <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::OneVersusOneClassifier </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor. </p>

<p class="definition">Definition at line <a class="el" href="_one_versus_one_classifier_8h_source.html#l00073">73</a> of file <a class="el" href="_one_versus_one_classifier_8h_source.html">OneVersusOneClassifier.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a5ded346e1b9354472fdfe9eb35a6023f" name="a5ded346e1b9354472fdfe9eb35a6023f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ded346e1b9354472fdfe9eb35a6023f">&#9670;&#160;</a></span>addClass()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> , class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_one_versus_one_classifier.html">shark::OneVersusOneClassifier</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a>, <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::addClass </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; <a class="el" href="classshark_1_1_abstract_model.html">binary_classifier_type</a> * &gt; const &amp;&#160;</td>
          <td class="paramname"><em>binmodels</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Add binary classifiers for one more class to the model. </p>
<p>The parameter binmodels holds a vector of n binary classifiers, where n is the current number of classes. The i-th model is this list is supposed to output a value of 1 for class n and a value of 0 for class i when faced with the binary classification problem of separating class i from class n. Afterwards the model can predict the n+1 classes {0, ..., n}. </p>

<p class="definition">Definition at line <a class="el" href="_one_versus_one_classifier_8h_source.html#l00148">148</a> of file <a class="el" href="_one_versus_one_classifier_8h_source.html">OneVersusOneClassifier.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_one_versus_one_classifier.html#a11a5bb9db5a4686f51db466b1a5f4c99">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::m_binary</a>, <a class="el" href="classshark_1_1_one_versus_one_classifier.html#ad7d03594b8da31afe6326ce79514010b">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::m_classes</a>, and <a class="el" href="_exception_8h.html#adce1f80097c69010f5eab2618fa2e971">SHARK_RUNTIME_CHECK</a>.</p>

<p class="reference">Referenced by <a class="el" href="_one_versus_one_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main()</a>.</p>

</div>
</div>
<a id="aa14ccce9b2bb1004e0d3165ca3c24094" name="aa14ccce9b2bb1004e0d3165ca3c24094"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa14ccce9b2bb1004e0d3165ca3c24094">&#9670;&#160;</a></span>binary()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> , class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_abstract_model.html">binary_classifier_type</a> const  &amp; <a class="el" href="classshark_1_1_one_versus_one_classifier.html">shark::OneVersusOneClassifier</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a>, <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::binary </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>class_one</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>class_zero</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Obtain binary classifier. </p>
<dl class="section user"><dt></dt><dd>The method returns the binary classifier used to distinguish class_one from class_zero. The convention class_one &gt; class_zero is used (the inverse classifier can be constructed from this one by flipping the labels). The binary classifier outputs a value of 1 for class_one and a value of zero for class_zero. </dd></dl>

<p class="definition">Definition at line <a class="el" href="_one_versus_one_classifier_8h_source.html#l00133">133</a> of file <a class="el" href="_one_versus_one_classifier_8h_source.html">OneVersusOneClassifier.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_one_versus_one_classifier.html#a11a5bb9db5a4686f51db466b1a5f4c99">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::m_binary</a>, <a class="el" href="classshark_1_1_one_versus_one_classifier.html#ad7d03594b8da31afe6326ce79514010b">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::m_classes</a>, and <a class="el" href="_exception_8h.html#a73abb5049a0168d72a48e72dda41708b">SHARK_ASSERT</a>.</p>

</div>
</div>
<a id="a24d1e801c037be39351c83f7c102bdc2" name="a24d1e801c037be39351c83f7c102bdc2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24d1e801c037be39351c83f7c102bdc2">&#9670;&#160;</a></span>createState()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> , class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boost::shared_ptr&lt; <a class="el" href="structshark_1_1_state.html">State</a> &gt; <a class="el" href="classshark_1_1_one_versus_one_classifier.html">shark::OneVersusOneClassifier</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a>, <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::createState </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates an internal state of the model. </p>
<p>The state is needed when the derivatives are to be calculated. Eval can store a state which is then reused to speed up the calculations of the derivatives. This also allows eval to be evaluated in parallel! </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_model.html#a47d80a74ce80e5dd5e2851c52738b86b">shark::AbstractModel&lt; InputTypeT, OutputTypeT, ParameterVectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_one_versus_one_classifier_8h_source.html#l00155">155</a> of file <a class="el" href="_one_versus_one_classifier_8h_source.html">OneVersusOneClassifier.h</a>.</p>

</div>
</div>
<a id="a114c9975ec451ef779656f6554d1af24" name="a114c9975ec451ef779656f6554d1af24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a114c9975ec451ef779656f6554d1af24">&#9670;&#160;</a></span>eval() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> , class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_one_versus_one_classifier.html">shark::OneVersusOneClassifier</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a>, <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::eval </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#a62a08462043b510e68dac7ae646156b2">BatchInputType</a> const &amp;&#160;</td>
          <td class="paramname"><em>patterns</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#ac67af1a218f9e7e3fef40649d402a449">BatchOutputType</a> &amp;&#160;</td>
          <td class="paramname"><em>output</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structshark_1_1_state.html">State</a> &amp;&#160;</td>
          <td class="paramname"><em>state</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>One-versus-one prediction: evaluate all binary classifiers, collect their votes, and return the class with most votes. </p>

<p>Implements <a class="el" href="classshark_1_1_abstract_model.html#af6b99ab56d362609a144764922b4bd7b">shark::AbstractModel&lt; InputTypeT, OutputTypeT, ParameterVectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_one_versus_one_classifier_8h_source.html#l00162">162</a> of file <a class="el" href="_one_versus_one_classifier_8h_source.html">OneVersusOneClassifier.h</a>.</p>

<p class="reference">References <a class="el" href="namespaceshark.html#af2ab10364feb8a631e0866dcf2f1a4ad">shark::batchSize()</a>, <a class="el" href="classshark_1_1_one_versus_one_classifier.html#a11a5bb9db5a4686f51db466b1a5f4c99">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::m_binary</a>, and <a class="el" href="classshark_1_1_one_versus_one_classifier.html#ad7d03594b8da31afe6326ce79514010b">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::m_classes</a>.</p>

</div>
</div>
<a id="ac7edef74da55322b6aef0ba65b08592d" name="ac7edef74da55322b6aef0ba65b08592d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7edef74da55322b6aef0ba65b08592d">&#9670;&#160;</a></span>eval() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> , class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classshark_1_1_abstract_model.html">shark::AbstractModel</a>&lt; InputTypeT, OutputTypeT, <a class="el" href="classshark_1_1_i_parameterizable.html#a2ad5e2e60b2b352988b41f46024d790b">ParameterVectorType</a> &gt;::eval </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#a62a08462043b510e68dac7ae646156b2">BatchInputType</a> const &amp;&#160;</td>
          <td class="paramname"><em>patterns</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#ac67af1a218f9e7e3fef40649d402a449">BatchOutputType</a> &amp;&#160;</td>
          <td class="paramname"><em>outputs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Standard interface for evaluating the response of the model to a batch of patterns. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">patterns</td><td>the inputs of the model </td></tr>
    <tr><td class="paramname">outputs</td><td>the predictions or response of the model to every pattern </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_model.html#ac7edef74da55322b6aef0ba65b08592d">shark::AbstractModel&lt; InputTypeT, OutputTypeT, ParameterVectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_abstract_model_8h_source.html#l00163">163</a> of file <a class="el" href="_abstract_model_8h_source.html">AbstractModel.h</a>.</p>

</div>
</div>
<a id="a6b09b00726d7317e0c2e95084d22e42e" name="a6b09b00726d7317e0c2e95084d22e42e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b09b00726d7317e0c2e95084d22e42e">&#9670;&#160;</a></span>eval() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> , class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classshark_1_1_abstract_model.html">shark::AbstractModel</a>&lt; InputTypeT, OutputTypeT, <a class="el" href="classshark_1_1_i_parameterizable.html#a2ad5e2e60b2b352988b41f46024d790b">ParameterVectorType</a> &gt;::eval </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#a62a08462043b510e68dac7ae646156b2">BatchInputType</a> const &amp;&#160;</td>
          <td class="paramname"><em>patterns</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_one_versus_one_classifier.html#ac67af1a218f9e7e3fef40649d402a449">BatchOutputType</a> &amp;&#160;</td>
          <td class="paramname"><em>outputs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structshark_1_1_state.html">State</a> &amp;&#160;</td>
          <td class="paramname"><em>state</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Standard interface for evaluating the response of the model to a batch of patterns. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">patterns</td><td>the inputs of the model </td></tr>
    <tr><td class="paramname">outputs</td><td>the predictions or response of the model to every pattern </td></tr>
    <tr><td class="paramname">state</td><td>intermediate results stored by eval which can be reused for derivative computation. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classshark_1_1_abstract_model.html#af6b99ab56d362609a144764922b4bd7b">shark::AbstractModel&lt; InputTypeT, OutputTypeT, ParameterVectorType &gt;</a>.</p>

</div>
</div>
<a id="a3a331290a6cb2840663d2178899366c8" name="a3a331290a6cb2840663d2178899366c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a331290a6cb2840663d2178899366c8">&#9670;&#160;</a></span>eval() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> , class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classshark_1_1_abstract_model.html">shark::AbstractModel</a>&lt; InputTypeT, OutputTypeT, <a class="el" href="classshark_1_1_i_parameterizable.html#a2ad5e2e60b2b352988b41f46024d790b">ParameterVectorType</a> &gt;::eval </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> const &amp;&#160;</td>
          <td class="paramname"><em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_abstract_model.html#a8e5acf043e3a76b50d15a852365801b4">OutputType</a> &amp;&#160;</td>
          <td class="paramname"><em>output</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Standard interface for evaluating the response of the model to a single pattern. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pattern</td><td>the input of the model </td></tr>
    <tr><td class="paramname">output</td><td>the prediction or response of the model to the pattern </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_model.html#a3a331290a6cb2840663d2178899366c8">shark::AbstractModel&lt; InputTypeT, OutputTypeT, ParameterVectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_abstract_model_8h_source.html#l00179">179</a> of file <a class="el" href="_abstract_model_8h_source.html">AbstractModel.h</a>.</p>

</div>
</div>
<a id="a526c89d58bd792fb51b0eeb43bd241b6" name="a526c89d58bd792fb51b0eeb43bd241b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a526c89d58bd792fb51b0eeb43bd241b6">&#9670;&#160;</a></span>inputShape()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> , class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_shape.html">Shape</a> <a class="el" href="classshark_1_1_one_versus_one_classifier.html">shark::OneVersusOneClassifier</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a>, <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::inputShape </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the expected shape of the input. </p>

<p>Implements <a class="el" href="classshark_1_1_abstract_model.html#a56391736859ddea5d1011d2248431b47">shark::AbstractModel&lt; InputTypeT, OutputTypeT, ParameterVectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_one_versus_one_classifier_8h_source.html#l00118">118</a> of file <a class="el" href="_one_versus_one_classifier_8h_source.html">OneVersusOneClassifier.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_one_versus_one_classifier.html#a11a5bb9db5a4686f51db466b1a5f4c99">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::m_binary</a>.</p>

</div>
</div>
<a id="a291c3ee295209c764e3f37e221f62101" name="a291c3ee295209c764e3f37e221f62101"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a291c3ee295209c764e3f37e221f62101">&#9670;&#160;</a></span>name()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> , class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classshark_1_1_one_versus_one_classifier.html">shark::OneVersusOneClassifier</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a>, <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::name </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>From <a class="el" href="classshark_1_1_i_nameable.html" title="This class is an interface for all objects which can have a name.">INameable</a>: return the class name. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_nameable.html#a9893f99314de30cd472e649c235d0db4">shark::INameable</a>.</p>

<p class="definition">Definition at line <a class="el" href="_one_versus_one_classifier_8h_source.html#l00078">78</a> of file <a class="el" href="_one_versus_one_classifier_8h_source.html">OneVersusOneClassifier.h</a>.</p>

</div>
</div>
<a id="a3326ce74f8401f42dc8031dec9bbdc56" name="a3326ce74f8401f42dc8031dec9bbdc56"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3326ce74f8401f42dc8031dec9bbdc56">&#9670;&#160;</a></span>numberOfClasses()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> , class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int <a class="el" href="classshark_1_1_one_versus_one_classifier.html">shark::OneVersusOneClassifier</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a>, <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::numberOfClasses </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return number of classes </p>

<p class="definition">Definition at line <a class="el" href="_one_versus_one_classifier_8h_source.html#l00115">115</a> of file <a class="el" href="_one_versus_one_classifier_8h_source.html">OneVersusOneClassifier.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_one_versus_one_classifier.html#ad7d03594b8da31afe6326ce79514010b">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::m_classes</a>.</p>

</div>
</div>
<a id="a95d7dffe9fe78c144291411e97c160ff" name="a95d7dffe9fe78c144291411e97c160ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a95d7dffe9fe78c144291411e97c160ff">&#9670;&#160;</a></span>numberOfParameters()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> , class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual std::size_t <a class="el" href="classshark_1_1_one_versus_one_classifier.html">shark::OneVersusOneClassifier</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a>, <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::numberOfParameters </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return the size of the parameter vector </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_parameterizable.html#aed1e8d1d4dbde387e2f6a25141ed3a20">shark::IParameterizable&lt; VectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_one_versus_one_classifier_8h_source.html#l00107">107</a> of file <a class="el" href="_one_versus_one_classifier_8h_source.html">OneVersusOneClassifier.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_one_versus_one_classifier.html#a11a5bb9db5a4686f51db466b1a5f4c99">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::m_binary</a>, and <a class="el" href="classshark_1_1_one_versus_one_classifier.html#a95d7dffe9fe78c144291411e97c160ff">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::numberOfParameters()</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_one_versus_one_classifier.html#a95d7dffe9fe78c144291411e97c160ff">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::numberOfParameters()</a>, <a class="el" href="classshark_1_1_one_versus_one_classifier.html#ab391eb00c83476a3b2de06d717849510">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::parameterVector()</a>, and <a class="el" href="classshark_1_1_one_versus_one_classifier.html#a41b5206801f56ac6f046978b8c9f4483">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::setParameterVector()</a>.</p>

</div>
</div>
<a id="ab95b7c7a39b4f87ee47a5a4a48256525" name="ab95b7c7a39b4f87ee47a5a4a48256525"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab95b7c7a39b4f87ee47a5a4a48256525">&#9670;&#160;</a></span>outputShape()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> , class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_shape.html">Shape</a> <a class="el" href="classshark_1_1_one_versus_one_classifier.html">shark::OneVersusOneClassifier</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a>, <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::outputShape </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the shape of the output. </p>

<p>Implements <a class="el" href="classshark_1_1_abstract_model.html#a54b8655a750489902560a5eb32ba5b4b">shark::AbstractModel&lt; InputTypeT, OutputTypeT, ParameterVectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_one_versus_one_classifier_8h_source.html#l00121">121</a> of file <a class="el" href="_one_versus_one_classifier_8h_source.html">OneVersusOneClassifier.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_one_versus_one_classifier.html#ad7d03594b8da31afe6326ce79514010b">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::m_classes</a>.</p>

</div>
</div>
<a id="ab391eb00c83476a3b2de06d717849510" name="ab391eb00c83476a3b2de06d717849510"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab391eb00c83476a3b2de06d717849510">&#9670;&#160;</a></span>parameterVector()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> , class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> <a class="el" href="classshark_1_1_one_versus_one_classifier.html">shark::OneVersusOneClassifier</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a>, <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::parameterVector </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>get internal parameters of the model </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_parameterizable.html#afaa2ba692ab64a0edbff60d7ee6794db">shark::IParameterizable&lt; VectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_one_versus_one_classifier_8h_source.html#l00083">83</a> of file <a class="el" href="_one_versus_one_classifier_8h_source.html">OneVersusOneClassifier.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_one_versus_one_classifier.html#a11a5bb9db5a4686f51db466b1a5f4c99">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::m_binary</a>, and <a class="el" href="classshark_1_1_one_versus_one_classifier.html#a95d7dffe9fe78c144291411e97c160ff">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::numberOfParameters()</a>.</p>

</div>
</div>
<a id="ad4eedddd8b965056551409b8525c427e" name="ad4eedddd8b965056551409b8525c427e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad4eedddd8b965056551409b8525c427e">&#9670;&#160;</a></span>read()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> , class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_one_versus_one_classifier.html">shark::OneVersusOneClassifier</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a>, <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::read </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;&#160;</td>
          <td class="paramname"><em>archive</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>from <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>, reads a model from an archive </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_model.html#a11203dd6f50218e4c341a5d24ff5d543">shark::AbstractModel&lt; InputTypeT, OutputTypeT, ParameterVectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_one_versus_one_classifier_8h_source.html#l00201">201</a> of file <a class="el" href="_one_versus_one_classifier_8h_source.html">OneVersusOneClassifier.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_one_versus_one_classifier.html#a11a5bb9db5a4686f51db466b1a5f4c99">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::m_binary</a>, and <a class="el" href="classshark_1_1_one_versus_one_classifier.html#ad7d03594b8da31afe6326ce79514010b">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::m_classes</a>.</p>

</div>
</div>
<a id="a41b5206801f56ac6f046978b8c9f4483" name="a41b5206801f56ac6f046978b8c9f4483"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a41b5206801f56ac6f046978b8c9f4483">&#9670;&#160;</a></span>setParameterVector()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> , class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classshark_1_1_one_versus_one_classifier.html">shark::OneVersusOneClassifier</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a>, <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::setParameterVector </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> const &amp;&#160;</td>
          <td class="paramname"><em>newParameters</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>set internal parameters of the model </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_parameterizable.html#ad5e35d1a10ff36fa72ea787baa40e9ad">shark::IParameterizable&lt; VectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_one_versus_one_classifier_8h_source.html#l00096">96</a> of file <a class="el" href="_one_versus_one_classifier_8h_source.html">OneVersusOneClassifier.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_one_versus_one_classifier.html#a11a5bb9db5a4686f51db466b1a5f4c99">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::m_binary</a>, <a class="el" href="classshark_1_1_one_versus_one_classifier.html#a95d7dffe9fe78c144291411e97c160ff">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::numberOfParameters()</a>, and <a class="el" href="_exception_8h.html#adce1f80097c69010f5eab2618fa2e971">SHARK_RUNTIME_CHECK</a>.</p>

</div>
</div>
<a id="ad3bd0e335f681d47795214af7fcee3f7" name="ad3bd0e335f681d47795214af7fcee3f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3bd0e335f681d47795214af7fcee3f7">&#9670;&#160;</a></span>write()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> , class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_one_versus_one_classifier.html">shark::OneVersusOneClassifier</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a>, <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;&#160;</td>
          <td class="paramname"><em>archive</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>from <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>, writes a model to an archive </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_model.html#a7d3f3d4d781954dc43d6cd445a5b56b4">shark::AbstractModel&lt; InputTypeT, OutputTypeT, ParameterVectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_one_versus_one_classifier_8h_source.html#l00208">208</a> of file <a class="el" href="_one_versus_one_classifier_8h_source.html">OneVersusOneClassifier.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_one_versus_one_classifier.html#a11a5bb9db5a4686f51db466b1a5f4c99">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::m_binary</a>, and <a class="el" href="classshark_1_1_one_versus_one_classifier.html#ad7d03594b8da31afe6326ce79514010b">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::m_classes</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a11a5bb9db5a4686f51db466b1a5f4c99" name="a11a5bb9db5a4686f51db466b1a5f4c99"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11a5bb9db5a4686f51db466b1a5f4c99">&#9670;&#160;</a></span>m_binary</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> , class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="classshark_1_1_abstract_model.html">binary_classifier_type</a>*&gt; <a class="el" href="classshark_1_1_one_versus_one_classifier.html">shark::OneVersusOneClassifier</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a>, <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::m_binary</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>list of binary classifiers </p>

<p class="definition">Definition at line <a class="el" href="_one_versus_one_classifier_8h_source.html#l00217">217</a> of file <a class="el" href="_one_versus_one_classifier_8h_source.html">OneVersusOneClassifier.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_one_versus_one_classifier.html#a5ded346e1b9354472fdfe9eb35a6023f">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::addClass()</a>, <a class="el" href="classshark_1_1_one_versus_one_classifier.html#aa14ccce9b2bb1004e0d3165ca3c24094">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::binary()</a>, <a class="el" href="classshark_1_1_one_versus_one_classifier.html#a114c9975ec451ef779656f6554d1af24">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::eval()</a>, <a class="el" href="classshark_1_1_one_versus_one_classifier.html#a526c89d58bd792fb51b0eeb43bd241b6">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::inputShape()</a>, <a class="el" href="classshark_1_1_one_versus_one_classifier.html#a95d7dffe9fe78c144291411e97c160ff">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::numberOfParameters()</a>, <a class="el" href="classshark_1_1_one_versus_one_classifier.html#ab391eb00c83476a3b2de06d717849510">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::parameterVector()</a>, <a class="el" href="classshark_1_1_one_versus_one_classifier.html#ad4eedddd8b965056551409b8525c427e">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::read()</a>, <a class="el" href="classshark_1_1_one_versus_one_classifier.html#a41b5206801f56ac6f046978b8c9f4483">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::setParameterVector()</a>, and <a class="el" href="classshark_1_1_one_versus_one_classifier.html#ad3bd0e335f681d47795214af7fcee3f7">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::write()</a>.</p>

</div>
</div>
<a id="ad7d03594b8da31afe6326ce79514010b" name="ad7d03594b8da31afe6326ce79514010b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7d03594b8da31afe6326ce79514010b">&#9670;&#160;</a></span>m_classes</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> , class <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int <a class="el" href="classshark_1_1_one_versus_one_classifier.html">shark::OneVersusOneClassifier</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a>, <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a> &gt;::m_classes</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>number of classes to be distinguished </p>

<p class="definition">Definition at line <a class="el" href="_one_versus_one_classifier_8h_source.html#l00216">216</a> of file <a class="el" href="_one_versus_one_classifier_8h_source.html">OneVersusOneClassifier.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_one_versus_one_classifier.html#a5ded346e1b9354472fdfe9eb35a6023f">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::addClass()</a>, <a class="el" href="classshark_1_1_one_versus_one_classifier.html#aa14ccce9b2bb1004e0d3165ca3c24094">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::binary()</a>, <a class="el" href="classshark_1_1_one_versus_one_classifier.html#a114c9975ec451ef779656f6554d1af24">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::eval()</a>, <a class="el" href="classshark_1_1_one_versus_one_classifier.html#a3326ce74f8401f42dc8031dec9bbdc56">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::numberOfClasses()</a>, <a class="el" href="classshark_1_1_one_versus_one_classifier.html#ab95b7c7a39b4f87ee47a5a4a48256525">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::outputShape()</a>, <a class="el" href="classshark_1_1_one_versus_one_classifier.html#ad4eedddd8b965056551409b8525c427e">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::read()</a>, and <a class="el" href="classshark_1_1_one_versus_one_classifier.html#ad3bd0e335f681d47795214af7fcee3f7">shark::OneVersusOneClassifier&lt; InputType, VectorType &gt;::write()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/shark/Models/<a class="el" href="_one_versus_one_classifier_8h_source.html">OneVersusOneClassifier.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
